package cn.edu.scau.cmi.zhangmingxing.client;

import java.io.IOException;
import java.util.Iterator;
import java.util.Set;

import cn.edu.scau.cmi.zhangmingxing.composite.consistent.ConsistentComponent;
import cn.edu.scau.cmi.zhangmingxing.composite.consistent.ConsistentComponentController;
import cn.edu.scau.cmi.zhangmingxing.composite.consistent.ConsistentComposite;
import cn.edu.scau.cmi.zhangmingxing.composite.consistent.ConsistentLeaf;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.stage.Stage;

public class ConsistentCompositeClient extends Application{
	public void start(Stage primaryStage) throws IOException {
		FXMLLoader fxmlLoader=new FXMLLoader(getClass().getResource("./fxml/ConsistentCompositeFxml.fxml"));
		Parent parent=fxmlLoader.load();
		ConsistentComponentController consistentComponentController=fxmlLoader.getController();
		consistentComponentController.begin(primaryStage, parent);
	}

	public static void main(String[] args) {
		launch(args);
	}
	

}
